const Bookmarks = {
  getTree: () => {
    return new Promise((resolve => {
      chrome.bookmarks.getTree((res = []) => resolve(res))
    }))
  }
}

// return new Promise((resolve => {}))

export default Bookmarks